package com.the4man.framework.model.gen;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lenovo on 2017/12/11.
 */
public class FenceInfoExampleBase {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria = new ArrayList();
    protected int limitStart = -1;
    protected int rowsPerPage = -1;

    public FenceInfoExampleBase() {
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return this.orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return this.distinct;
    }

    public List<FenceInfoExampleBase.Criteria> getOredCriteria() {
        return this.oredCriteria;
    }

    public void or(FenceInfoExampleBase.Criteria criteria) {
        this.oredCriteria.add(criteria);
    }

    public FenceInfoExampleBase.Criteria or() {
        FenceInfoExampleBase.Criteria criteria = this.createCriteriaInternal();
        this.oredCriteria.add(criteria);
        return criteria;
    }

    public FenceInfoExampleBase.Criteria createCriteria() {
        FenceInfoExampleBase.Criteria criteria = this.createCriteriaInternal();
        if(this.oredCriteria.size() == 0) {
            this.oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected FenceInfoExampleBase.Criteria createCriteriaInternal() {
        FenceInfoExampleBase.Criteria criteria = new FenceInfoExampleBase.Criteria();
        return criteria;
    }

    public void clear() {
        this.oredCriteria.clear();
        this.orderByClause = null;
        this.distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart = limitStart;
    }

    public int getLimitStart() {
        return this.limitStart;
    }

    public void setRowsPerPage(int rowsPerPage) {
        this.rowsPerPage = rowsPerPage;
    }

    public int getRowsPerPage() {
        return this.rowsPerPage;
    }

    public static class Criteria extends FenceInfoExampleBase.GeneratedCriteria {
        protected Criteria() {
        }
    }

    public static class Criterion {
        private String condition;
        private Object value;
        private Object secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String typeHandler;

        public String getCondition() {
            return this.condition;
        }

        public Object getValue() {
            return this.value;
        }

        public Object getSecondValue() {
            return this.secondValue;
        }

        public boolean isNoValue() {
            return this.noValue;
        }

        public boolean isSingleValue() {
            return this.singleValue;
        }

        public boolean isBetweenValue() {
            return this.betweenValue;
        }

        public boolean isListValue() {
            return this.listValue;
        }

        public String getTypeHandler() {
            return this.typeHandler;
        }

        protected Criterion(String condition) {
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if(value instanceof List) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }

        }

        protected Criterion(String condition, Object value) {
            this(condition, value, (String)null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, (String)null);
        }
    }

    protected abstract static class GeneratedCriteria {
        protected List<FenceInfoExampleBase.Criterion> criteria = new ArrayList();

        protected GeneratedCriteria() {
        }

        public boolean isValid() {
            return this.criteria.size() > 0;
        }

        public List<FenceInfoExampleBase.Criterion> getAllCriteria() {
            return this.criteria;
        }

        public List<FenceInfoExampleBase.Criterion> getCriteria() {
            return this.criteria;
        }

        protected void addCriterion(String condition) {
            if(condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            } else {
                this.criteria.add(new FenceInfoExampleBase.Criterion(condition));
            }
        }

        protected void addCriterion(String condition, Object value, String property) {
            if(value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            } else {
                this.criteria.add(new FenceInfoExampleBase.Criterion(condition, value));
            }
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if(value1 != null && value2 != null) {
                this.criteria.add(new FenceInfoExampleBase.Criterion(condition, value1, value2));
            } else {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
        }

        public FenceInfoExampleBase.Criteria andIdIsNull() {
            this.addCriterion("id is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdIsNotNull() {
            this.addCriterion("id is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdEqualTo(String value) {
            this.addCriterion("id =", value, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdNotEqualTo(String value) {
            this.addCriterion("id <>", value, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdGreaterThan(String value) {
            this.addCriterion("id >", value, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("id >=", value, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdLessThan(String value) {
            this.addCriterion("id <", value, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdLessThanOrEqualTo(String value) {
            this.addCriterion("id <=", value, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdLike(String value) {
            this.addCriterion("id like", value, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdNotLike(String value) {
            this.addCriterion("id not like", value, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdIn(List<String> values) {
            this.addCriterion("id in", values, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdNotIn(List<String> values) {
            this.addCriterion("id not in", values, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdBetween(String value1, String value2) {
            this.addCriterion("id between", value1, value2, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andIdNotBetween(String value1, String value2) {
            this.addCriterion("id not between", value1, value2, "id");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameIsNull() {
            this.addCriterion("name is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameIsNotNull() {
            this.addCriterion("name is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameEqualTo(String value) {
            this.addCriterion("name =", value, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameNotEqualTo(String value) {
            this.addCriterion("name <>", value, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameGreaterThan(String value) {
            this.addCriterion("name >", value, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameGreaterThanOrEqualTo(String value) {
            this.addCriterion("name >=", value, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameLessThan(String value) {
            this.addCriterion("name <", value, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameLessThanOrEqualTo(String value) {
            this.addCriterion("name <=", value, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameLike(String value) {
            this.addCriterion("name like", value, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameNotLike(String value) {
            this.addCriterion("name not like", value, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameIn(List<String> values) {
            this.addCriterion("name in", values, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameNotIn(List<String> values) {
            this.addCriterion("name not in", values, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameBetween(String value1, String value2) {
            this.addCriterion("name between", value1, value2, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andNameNotBetween(String value1, String value2) {
            this.addCriterion("name not between", value1, value2, "name");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdIsNull() {
            this.addCriterion("region_id is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdIsNotNull() {
            this.addCriterion("region_id is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdEqualTo(String value) {
            this.addCriterion("region_id =", value, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdNotEqualTo(String value) {
            this.addCriterion("region_id <>", value, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdGreaterThan(String value) {
            this.addCriterion("region_id >", value, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("region_id >=", value, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdLessThan(String value) {
            this.addCriterion("region_id <", value, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdLessThanOrEqualTo(String value) {
            this.addCriterion("region_id <=", value, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdLike(String value) {
            this.addCriterion("region_id like", value, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdNotLike(String value) {
            this.addCriterion("region_id not like", value, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdIn(List<String> values) {
            this.addCriterion("region_id in", values, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdNotIn(List<String> values) {
            this.addCriterion("region_id not in", values, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdBetween(String value1, String value2) {
            this.addCriterion("region_id between", value1, value2, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andRegionIdNotBetween(String value1, String value2) {
            this.addCriterion("region_id not between", value1, value2, "regionId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeIsNull() {
            this.addCriterion("code is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeIsNotNull() {
            this.addCriterion("code is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeEqualTo(String value) {
            this.addCriterion("code =", value, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeNotEqualTo(String value) {
            this.addCriterion("code <>", value, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeGreaterThan(String value) {
            this.addCriterion("code >", value, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeGreaterThanOrEqualTo(String value) {
            this.addCriterion("code >=", value, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeLessThan(String value) {
            this.addCriterion("code <", value, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeLessThanOrEqualTo(String value) {
            this.addCriterion("code <=", value, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeLike(String value) {
            this.addCriterion("code like", value, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeNotLike(String value) {
            this.addCriterion("code not like", value, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeIn(List<String> values) {
            this.addCriterion("code in", values, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeNotIn(List<String> values) {
            this.addCriterion("code not in", values, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeBetween(String value1, String value2) {
            this.addCriterion("code between", value1, value2, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCodeNotBetween(String value1, String value2) {
            this.addCriterion("code not between", value1, value2, "code");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdIsNull() {
            this.addCriterion("smap_id is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdIsNotNull() {
            this.addCriterion("smap_id is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdEqualTo(String value) {
            this.addCriterion("smap_id =", value, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdNotEqualTo(String value) {
            this.addCriterion("smap_id <>", value, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdGreaterThan(String value) {
            this.addCriterion("smap_id >", value, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("smap_id >=", value, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdLessThan(String value) {
            this.addCriterion("smap_id <", value, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdLessThanOrEqualTo(String value) {
            this.addCriterion("smap_id <=", value, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdLike(String value) {
            this.addCriterion("smap_id like", value, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdNotLike(String value) {
            this.addCriterion("smap_id not like", value, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdIn(List<String> values) {
            this.addCriterion("smap_id in", values, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdNotIn(List<String> values) {
            this.addCriterion("smap_id not in", values, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdBetween(String value1, String value2) {
            this.addCriterion("smap_id between", value1, value2, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andSmapIdNotBetween(String value1, String value2) {
            this.addCriterion("smap_id not between", value1, value2, "smapId");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryIsNull() {
            this.addCriterion("geometry is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryIsNotNull() {
            this.addCriterion("geometry is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryEqualTo(Object value) {
            this.addCriterion("geometry =", value, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryNotEqualTo(Object value) {
            this.addCriterion("geometry <>", value, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryGreaterThan(Object value) {
            this.addCriterion("geometry >", value, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryGreaterThanOrEqualTo(Object value) {
            this.addCriterion("geometry >=", value, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryLessThan(Object value) {
            this.addCriterion("geometry <", value, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryLessThanOrEqualTo(Object value) {
            this.addCriterion("geometry <=", value, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryIn(List<Object> values) {
            this.addCriterion("geometry in", values, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryNotIn(List<Object> values) {
            this.addCriterion("geometry not in", values, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryBetween(Object value1, Object value2) {
            this.addCriterion("geometry between", value1, value2, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeometryNotBetween(Object value1, Object value2) {
            this.addCriterion("geometry not between", value1, value2, "geometry");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextIsNull() {
            this.addCriterion("geo_text is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextIsNotNull() {
            this.addCriterion("geo_text is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextEqualTo(String value) {
            this.addCriterion("geo_text =", value, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextNotEqualTo(String value) {
            this.addCriterion("geo_text <>", value, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextGreaterThan(String value) {
            this.addCriterion("geo_text >", value, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextGreaterThanOrEqualTo(String value) {
            this.addCriterion("geo_text >=", value, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextLessThan(String value) {
            this.addCriterion("geo_text <", value, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextLessThanOrEqualTo(String value) {
            this.addCriterion("geo_text <=", value, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextLike(String value) {
            this.addCriterion("geo_text like", value, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextNotLike(String value) {
            this.addCriterion("geo_text not like", value, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextIn(List<String> values) {
            this.addCriterion("geo_text in", values, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextNotIn(List<String> values) {
            this.addCriterion("geo_text not in", values, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextBetween(String value1, String value2) {
            this.addCriterion("geo_text between", value1, value2, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andGeoTextNotBetween(String value1, String value2) {
            this.addCriterion("geo_text not between", value1, value2, "geoText");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeIsNull() {
            this.addCriterion("create_time is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeIsNotNull() {
            this.addCriterion("create_time is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeEqualTo(String value) {
            this.addCriterion("create_time =", value, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeNotEqualTo(String value) {
            this.addCriterion("create_time <>", value, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeGreaterThan(String value) {
            this.addCriterion("create_time >", value, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            this.addCriterion("create_time >=", value, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeLessThan(String value) {
            this.addCriterion("create_time <", value, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeLessThanOrEqualTo(String value) {
            this.addCriterion("create_time <=", value, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeLike(String value) {
            this.addCriterion("create_time like", value, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeNotLike(String value) {
            this.addCriterion("create_time not like", value, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeIn(List<String> values) {
            this.addCriterion("create_time in", values, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeNotIn(List<String> values) {
            this.addCriterion("create_time not in", values, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeBetween(String value1, String value2) {
            this.addCriterion("create_time between", value1, value2, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateTimeNotBetween(String value1, String value2) {
            this.addCriterion("create_time not between", value1, value2, "createTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserIsNull() {
            this.addCriterion("create_user is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserIsNotNull() {
            this.addCriterion("create_user is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserEqualTo(String value) {
            this.addCriterion("create_user =", value, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserNotEqualTo(String value) {
            this.addCriterion("create_user <>", value, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserGreaterThan(String value) {
            this.addCriterion("create_user >", value, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            this.addCriterion("create_user >=", value, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserLessThan(String value) {
            this.addCriterion("create_user <", value, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserLessThanOrEqualTo(String value) {
            this.addCriterion("create_user <=", value, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserLike(String value) {
            this.addCriterion("create_user like", value, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserNotLike(String value) {
            this.addCriterion("create_user not like", value, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserIn(List<String> values) {
            this.addCriterion("create_user in", values, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserNotIn(List<String> values) {
            this.addCriterion("create_user not in", values, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserBetween(String value1, String value2) {
            this.addCriterion("create_user between", value1, value2, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andCreateUserNotBetween(String value1, String value2) {
            this.addCriterion("create_user not between", value1, value2, "createUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeIsNull() {
            this.addCriterion("update_time is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeIsNotNull() {
            this.addCriterion("update_time is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeEqualTo(String value) {
            this.addCriterion("update_time =", value, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeNotEqualTo(String value) {
            this.addCriterion("update_time <>", value, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeGreaterThan(String value) {
            this.addCriterion("update_time >", value, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            this.addCriterion("update_time >=", value, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeLessThan(String value) {
            this.addCriterion("update_time <", value, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            this.addCriterion("update_time <=", value, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeLike(String value) {
            this.addCriterion("update_time like", value, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeNotLike(String value) {
            this.addCriterion("update_time not like", value, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeIn(List<String> values) {
            this.addCriterion("update_time in", values, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeNotIn(List<String> values) {
            this.addCriterion("update_time not in", values, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeBetween(String value1, String value2) {
            this.addCriterion("update_time between", value1, value2, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateTimeNotBetween(String value1, String value2) {
            this.addCriterion("update_time not between", value1, value2, "updateTime");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserIsNull() {
            this.addCriterion("update_user is null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserIsNotNull() {
            this.addCriterion("update_user is not null");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserEqualTo(String value) {
            this.addCriterion("update_user =", value, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserNotEqualTo(String value) {
            this.addCriterion("update_user <>", value, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserGreaterThan(String value) {
            this.addCriterion("update_user >", value, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            this.addCriterion("update_user >=", value, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserLessThan(String value) {
            this.addCriterion("update_user <", value, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserLessThanOrEqualTo(String value) {
            this.addCriterion("update_user <=", value, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserLike(String value) {
            this.addCriterion("update_user like", value, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserNotLike(String value) {
            this.addCriterion("update_user not like", value, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserIn(List<String> values) {
            this.addCriterion("update_user in", values, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserNotIn(List<String> values) {
            this.addCriterion("update_user not in", values, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserBetween(String value1, String value2) {
            this.addCriterion("update_user between", value1, value2, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }

        public FenceInfoExampleBase.Criteria andUpdateUserNotBetween(String value1, String value2) {
            this.addCriterion("update_user not between", value1, value2, "updateUser");
            return (FenceInfoExampleBase.Criteria)this;
        }
    }
}
